@import "bootstrap-sprockets";
@import "bootstrap";
@import "font-awesome-sprockets";
@import "font-awesome";
@import "social-share-button";
body {
  min-width: 940px;
  padding-bottom: 30px;

}
@media (min-width: 768px) {
  .container {
    width: 940px;
  }

}
@media (min-width: 992px) {
  .container {
    width: 940px;
  }

}
@media (min-width: 1200px) {
  .container {
    width: 940px;
  }

}
.lead {
  font-size: 16px;
}
.page-header {
  margin-bottom: 30px;
}
.page-header .lead {
  margin-bottom: 10px;
}
.container {
  width: 940px;
  max-width: none !important;
  padding-right: 0;
  padding-left: 0;
}
.col-xs-4 {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #eee;
  border: 1px solid #ddd;
}
.container .navbar-header,
.container .navbar-collapse {
  margin-right: 0;
  margin-left: 0;
}
.navbar-header {
  float: left;
}
.navbar-collapse {
  display: block !important;
  height: auto !important;
  padding-bottom: 0;
  overflow: visible !important;
}
.navbar-toggle {
  display: none;
}
.navbar-collapse {
  border-top: 0;
}
.navbar-brand {
  margin-left: -15px;
}
.navbar-nav {
  float: left;
  margin: 0;
}
.navbar-nav > li {
  float: left;
}
.navbar-nav > li > a {
  padding: 15px;
}
.navbar-nav.navbar-right {
  float: right;
}
.navbar .navbar-nav .open .dropdown-menu {
  position: absolute;
  float: left;
  background-color: #fff;
  border: 1px solid #ccc;
  border-width: 0 1px 1px;
  border-radius: 0 0 4px 4px;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: #333;
}
.navbar .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar .navbar-nav .open .dropdown-menu > li > a:focus,
.navbar .navbar-nav .open .dropdown-menu > .active > a,
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
  color: #fff !important;
  background-color: #428bca !important;
}
.navbar .navbar-nav .open .dropdown-menu > .disabled > a,
.navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus {
  color: #999 !important;
  background-color: transparent !important;

}
body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft Yahei","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;

  font-size: 12px;
  line-height: 18px;
  color: #333;
  background-color: #fff;

}
.vote-star {
  display: inline-block;
  margin-right: 6px;
  width: 85px;
  height: 17px;
  overflow: hidden;
  vertical-align: middle;
  background: image_url("star.gif") repeat-x 0 -17px;
  i {
    margin-left: 0;
    display: inline-block;
    height: 17px;
    background: image_url("star.gif") repeat-x 0 0;
    float: left;
  }

}
.vote-star-min {
  display: inline-block;
  margin-right: 6px;
  width: 70px;
  height: 14px;
  overflow: hidden;
  vertical-align: middle;
  background: image_url("star-min.gif") repeat-x 0 -14px;
  i {
    margin-left: 0;
    display: inline-block;
    height: 14px;
    background: image_url("star-min.gif") repeat-x 0 0;
    float: left;
  }

}
.vote-number {
  vertical-align: middle;
  font-size: 12px;
  color: #828282;

}
.rank,
.name {
  margin-top: 3px;
}
.navbar-fixed-top,
.navbar-fixed-bottom {
  position: static;
}
.navbar {
  min-height: 44px;
}
.navbar-header {
  height: 43px;
  *height: 43px;
}
.navbar-brand {
  float: left;
  height: 43px;
  *height: 43px;
  height: 43px;
  padding: 15px;
  font-size: 16px;
  line-height: 16px;
}
.navbar-nav > li > a {
  padding: 12px;
  line-height: 19px;
  font-size: 16px;
  color: #333;
}
.navbar-default .navbar-nav>li>a {
  color: #333;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  color: #4b65c6;
  background-color: #f8f8f8;
}
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: #4b65c6;
  background-color: #f8f8f8;
}
.form-control,
.input-group-addon {
  border-radius: 0;

}
#search_box > .navbar-form .input-group>.form-control {
  width: 160px;

}
#search_key {
  width: 160px;
  height: 34px;
  *width: 160px;
  *height: 31.5px;
  *padding: 0 12px;

}
.navbar-form {
  margin-bottom: 0;
  margin-top: 4px;
  padding: 0;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #f8f8f8;
}
.input-group-addon {
  width: 38px;
  height: 34px;
}
.btn {
  border-radius: 0;
  border-left: none;
}
.input-group-addon {
  border-radius: 0;
  border: none;
  background-color: #f8f8f8;
  padding: 0;
}
.navbar {
  margin-bottom: 10px;
}
.row {
  margin-right: 0;
  margin-left: 0;
}
ul,
li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.col-xs-2,
.col-xs-3,
.col-xs-9 {
  padding-right: 0;
  padding-left: 0;

}
.search_box {
  margin-left: 20px;

}
#home_page {
  margin: 0;
  #recommend {
    margin-top: 20px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    .items {
      height: 240px;
      li.item {
        width: 156px;
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 240px;
        .cover {
          height: 200px;
          overflow: hidden;
          img {
            width: 130px;
          }

        }
        a {
          color: #428bca;
          &:hover {
            color: #428bca;
          }
          &:focus {
            color: #428bca;
          }
        }
      }
    }

  }
  .other_rcd {
    position: relative;
    margin-bottom: 20px;
    h2 {
      font-size: 14px;
      font-weight: normal;
      background: #4b65c6;
      color: #fff;
      width: 90px;
      position: absolute;
      left: 0;
      top: 0;
      text-align: center;
      line-height: 36px;
      margin-top: 0;
      a {
        text-decoration: none;
        color: #fff;
        &:hover {
          text-decoration: underline;
          color: #fff;
        }
        &:focus {
          text-decoration: underline;
          color: #fff;
        }
      }

    }
    .items {
      border: 1px solid #ddd;
      border-top: 3px solid #4b65c6;
      padding: 20px;
      *padding: 20px 0;
      margin: 0 0 0 89px;
      width: 851px;
      *width: 851px;
      height: 234px;
      li.item {
        width: 133px;
        text-align: center;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 190px;
        .cover {
          height: 155px;
          overflow: hidden;
          img {
            width: 100px;
          }
        }
      }
    }

  }
  .right {
    h2 {
      width: 90px;
      *width: 89px;
      right: 0;
      *right: -1px;
      left: auto;
      background: #389033;
    }
    .items {
      border: 1px solid #ddd;
      border-top: 3px solid #389033;
      margin: 0 90px 0 0;
    }
  }

}
.movie_totals {
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 20px;

}
.movies {
  form.filters {
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 13px;
    .items {
      border-bottom: 4px solid #eee;
      padding: 10px;
      font-size: 12px;
      background: #f5f5f5;
      margin-bottom: 10px;
    }
    .sorts {
      text-align: right;
      color: #999;
      a {
        margin: 0 5px;
        padding-bottom: 8px;
        &:focus {
          color: #428bca;
        }
        &:hover {
          color: #428bca;
        }
        &.active {
          color: #999;
          background: image_url("dot_up.png") bottom center no-repeat;
          font-weight: bold;
          text-decoration: none;
        }
      }

    }
    .filter {
      margin-left: 0;
      margin-bottom: 5px;
      .col-xs-1 {
        color: #999;
        text-align: right;
        width: 60px;
        margin-left: 20px;
        margin-right: 0;
        line-height: 18px;
        padding-left: 0;
        padding-right: 0;
      }
      a {
        color: #000;
        margin-right: 10px;
        &:focus {
          color: #c03d33;
        }
        &:hover {
          color: #c03d33;
        }
        &.active {
          color: #c03d33;
        }
      }
    }

  }
  .movie {
    padding: 20px 0;
    margin-left: 0;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
    .cover {
      position: absolute;
      top: 20px;
      left: 0;
      width: 130px;
      img {
        width: 130px;
      }

    }
    .infos {
      padding-left: 150px;
      ul {
        margin: 0;
        padding: 0;
      }
      li {
        list-style-type: none;
        line-height: 24px;
        position: relative;
        a {
          color: #333;
          display: inline-block;
        }
        label {
          width: 30px;
          position: absolute;
          top: 3px;
          left: 0;
          font-weight: normal;
          line-height: 18px;
        }
        div.tags {
          padding-left: 36px;
          text-align: left;
          width: 270px;
          *width: 270px;
        }
        a.down {
          color: green;
          font-weight: bold;
        }

      }
      li.name {
        font-size: 16px;
        font-weight: normal;
        padding: 0;
        margin: 0;
        line-height: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        .year {
          font-weight: normal;
          font-size: 12px;
          color: #666;
        }
      }
    }
  }

}
.box {
  margin-bottom: 20px;
  margin-top: 20px;
  h2 {
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    font-weight: 600;
  }

}
#movie {
  position: relative;
  .share {
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: right;
  }
  .infos {
    .cover {
      width: 210px;
      text-align: left;
      margin-bottom: 20px;
      margin-right: 10px;
      img {
        width: 180px;
      }

    }
    .reviews {
      margin-bottom: 10px;
      .raters_count {
        margin-bottom: 10px;
        margin-top: 5px;
        a {
          color: #bf7f2e;
          text-decoration: underline;
        }
      }

    }
    ul.details {
      margin-left: 0;
      list-style: none;
      padding-left: 0;
      padding-right: 0;
      li {
        color: #666;
        line-height: 160%;
        margin-bottom: 6px;
        b {
          color: #999;
          margin-right: 6px;
          font-weight: normal;
        }
        a {
          color: #555;
          text-decoration: none;
          display: inline-block;
          &:focus {
            text-decoration: underline;
          }
          &:hover {
            text-decoration: underline;
          }
        }

      }
      h2 {
        margin: 0;
        padding: 0;
        display: inline;
        line-height: 100%;
        font-size: 13px;
        font-weight: normal;
      }
    }

  }
  h1 {
    color: #333;
    font-size: 28px;
    line-height: 38px;
    height: 38px;
    overflow: hidden;
    margin: 0;
    font-family: inherit;
    font-weight: bold;
    .year {
      color: #999;
      font-size: 14px;
    }

  }
  .sub_title {
    padding-left: 4px;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #999;
    .categories {
      margin-right: 10px;
      color: #fff;
      a {
        color: #428bca;
      }

    }
    .countries {
      margin-right: 10px;
      color: #fff;
      a {
        color: #a92816;
      }
    }

  }
  .attachs {
    position: relative;
    background: #f0f0f0;
    padding: 10px;
    margin-bottom: 5px;
    .toolbar {
      margin-bottom: 8px;
    }
    table {
      margin-bottom: 8px;
      background: #fff;
      border: 1px solid #fff;
    }
    .opts {
      text-align: right;
    }
    td.qu {
      font-variant: small-caps;
    }
    td.size {
      width: 60px;
    }
    td.name {
      max-width: 480px;
      color: #999;
      word-break: break-all;
      text-overflow: ellipsis;
    }

  }
  #subs {
    height: 102px;
    overflow: hidden;
    h2 {
      font-size: 14px;
      border-bottom: 1px solid #ddd;
      margin-bottom: 10px;
      font-weight: 600;
    }
    .sub {
      font-size: 12px;
      font-weight: normal;
      color: #999;
    }
    ul {
      list-style-type: disc;
      padding-left: 20px;
    }
    li {
      list-style-type: disc;
    }

  }
  #relation {
    .item {
      margin-bottom: 20px;
      height: 130px;
      width: 94px;
      text-align: center;
      overflow: hidden;
      float: left;
      text-overflow: ellipsis;
      .cover {
        margin-bottom: 10px;
        img {
          width: 65px;
        }
      }
    }
  }

}
.btn-mini {
  padding: 2px 6px;
  font-size: 12px;
  line-height: 14px;
}
.pagination {
  display: inherit;
  padding: 20px 0;
  clear: both;

}
legend {
  line-height: 36px;
  font-size: 18px;
}
form.user {
  .form-control {
    width: 80%;
  }
  .control-label {
    font-size: 14px;
    text-align: right;
    font-weight: normal;
    abbr {
      display: none;
    }

  }
  .controls {
    width: 58.3333333333%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    span {
      display: none;
    }
  }

}
#user {
  .col-xs-3 {
    fieldset {
      margin-top: 20px;
      margin-left: 5px;
    }
    p {
      padding-left: 7px;
    }
  }

}
#user_captcha {
  width: 56%;
  float: left;
}
#code_img {
  height: 34px;
  width: 87px;
  float: left;
  cursor: pointer;
  margin-left: 8px;
}
